package com.android.lovingpet.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ikata on 2018/4/3.
 */

public class Host extends Body implements Parcelable {
    String age;
    String petExp;
    String name;
    String phone;
    String service;
    String attention;
    String petImage;

    public void setAge(String age) {
        this.age = age;
    }

    public void setPetExp(String petExp) {
        this.petExp = petExp;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setService(String service) {
        this.service = service;
    }

    public void setAttention(String attention) {
        this.attention = attention;
    }

    public void setPetImage(String petImage) {
        this.petImage = petImage;
    }

    protected Host(Parcel in) {
        super(in);
        age = in.readString();
        petExp = in.readString();
        name = in.readString();
        phone = in.readString();
        service = in.readString();
        attention = in.readString();
        petImage=in.readString();
    }
    public static final Creator<Host> CREATOR = new Creator<Host>() {
        @Override
        public Host createFromParcel(Parcel in) {
            return new Host(in);
        }

        @Override
        public Host[] newArray(int size) {
            return new Host[size];
        }
    };

    public String getPetImage() {
        return petImage;
    }

    public String getAge() {
        return age;
    }

    public String getPetExp() {
        return petExp;
    }

    public String getName() {
        return name;
    }

    public String getPhone() {
        return phone;
    }

    public String getService() {
        return service;
    }

    public String getAttention() {
        return attention;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest,flags);
        dest.writeString(age);
        dest.writeString(petExp);
        dest.writeString(name);
        dest.writeString(phone);
        dest.writeString(service);
        dest.writeString(attention);
        dest.writeString(petImage);
    }
}
